package com.hegongda.dao;

import com.hegongda.bean.User;

import java.sql.SQLException;

public interface UserDao {
    public int userRegister(User user) throws SQLException;
    public User userLogin(String name,String password) throws SQLException;
    public User hasUser(String name) throws SQLException;
}
